package com.yungu.swift.assets.driver.model.param;

import com.yungu.swift.base.model.admin.AdminPageParam;
import com.yungu.swift.common.model.dto.CommonMessageStatusDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author : cuixiuyin
 * @date : 2019/6/24
 */
@Data
@ApiModel(value = "司机消息分页对象")
public class AdminDriverMessagePageParam extends AdminPageParam {


    @ApiModelProperty(value = "业务类型（1：出租车 2:专车 3:跨城拼车 4：跨城小件）", example = "0")
    private Integer businessType;

    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    /**
     * 后台只查询到系统发送的消息
     */
    @ApiModelProperty(hidden = true, example = "0")
    private Integer type = CommonMessageStatusDto.TYPE_SYSTEM;
}
